package ltg.ibutton.hydroroom;

import java.util.ArrayList;

import ltg.ibutton.core.Concept;

public class DyeTracer extends Concept implements HavingColor {
	protected String bid, type, color;
	
	public DyeTracer() {}
	
	public DyeTracer(String bid, String color) {
		this.bid = bid;
		this.type = "default dye tracer";
		this.color = color;
	}
	
	public String toString() {
		return"[DyeTracer "+this.bid+"]: "+this.type+" ("+this.color+")";
	}
	
	public String getBid() { return this.bid; }
 	public String getType() { return this.type; }
	public String getColor() { return this.color; }

	@Override
	public ArrayList<ColorBand> getColors() {
		ArrayList<ColorBand> c = new ArrayList<ColorBand>();
		c.add(new ColorBand(this.color, 1.0));
		return c;
	}
}
